<%@ Page Title="Story Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<AgileBoard.Core.Story>" %>
<%@ Import Namespace="AgileBoard.Web.Controllers" %>

<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <h1>Story Details</h1>

    <ul>
		<li>
			<label for="Story_Name">Name:</label>
            <span id="Story_Name"><%= Server.HtmlEncode(ViewData.Model.Name.ToString()) %></span>
		</li>
		<li>
			<label for="Story_CreateTime">CreateTime:</label>
            <span id="Story_CreateTime"><%= Server.HtmlEncode(ViewData.Model.CreateTime.ToString()) %></span>
		</li>
		<li>
			<label for="Story_Creator">Creator:</label>
            <span id="Story_Creator"><%= Server.HtmlEncode(ViewData.Model.Creator.ToString()) %></span>
		</li>
		<li>
			<label for="Story_Size">Size:</label>
            <span id="Story_Size"><%= Server.HtmlEncode(ViewData.Model.Size.ToString()) %></span>
		</li>
		<li>
			<label for="Story_Color">Color:</label>
            <span id="Story_Color"><%= Server.HtmlEncode(ViewData.Model.Color.ToString()) %></span>
		</li>
		<li>
			<label for="Story_Observation">Observation:</label>
            <span id="Story_Observation"><%= Server.HtmlEncode(ViewData.Model.Observation.ToString()) %></span>
		</li>
	    <li class="buttons">
            <%= Html.Button("btnBack", "Back", HtmlButtonType.Button, 
                "window.location.href = '" + Html.BuildUrlFromExpressionForAreas<StoriesController>(c => c.Index()) + "';") %>
        </li>
	</ul>

</asp:Content>
